package com.whcoding.docker.controller;


import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: spring-boot-learning
 * @description:
 * @author: whcoding
 * @create: 2022-08-31 18:14
 **/
@RestController
@RequestMapping("/docker")
public class HelloController {

    /**
     * http://localhost:3888/docker/hello
     * @return
     */
    @GetMapping("/hello")
    public String hello() {
        return "Hello,From Docker!";
    }
}
